
/**
 * require 能兼容 module.exports 和 export default
 * import  只适用于  export
 *  => ({})
 */
const getAuthorization = () => [
  null,
  ['net_wan', 'net_cellular1', 'net_lan', 'net_dhcp',
  'net_static_router', 'net_clients', 'net_qos', 'net_accelerate', ],
  ['wifi_2', 'wifi_5', 'wifi_guest', 'wifi_signal', 'wifi_scan', '', ''],
  ['adv_firewall_general', 'adv_dmz', 'adv_ddns', 'adv_router_nat', "adv_netwatchdog", ],
  ['srv_cloud_login', 'srv_cloud_control', 'srv_client_pptp', 
  'srv_client_l2tp', 'srv_storage','srv_samba', 'pptp', 'l2tp', 'openvpn', 'mltcp', 'tunnel', ],
  ['mgnt_sysupgrade', 'mgnt_backup_restore','mgnt_system', ],
  ['tool_diagnose', 'tool_site_survey'],
];

const perm_map = getAuthorization()

export default perm_map
// module.exports = perm_map
// export { perm_map, }
